@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}
.width100{
  width: 100% !important;
}
a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}
.w1200{
  width: 1200px;
  margin: 0 auto;
}
.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

aside {
  background: #eef1f6;
  padding: 8px 24px;
  margin-bottom: 20px;
  border-radius: 2px;
  display: block;
  line-height: 32px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: #2c3e50;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

//main-container全局样式
.app-container {
  padding: 20px;
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center;
}
.text-r {
  text-align: right;
}
.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);

  .subtitle {
    font-size: 20px;
    color: #fff;
  }

  &.draft {
    background: #d0d0d0;
  }

  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}


// custom common css
.f12{font-size:12px}
.f13{font-size:13px}
.f14{font-size:14px}
.f16{font-size:16px}
.f18{font-size:18px}
.f20{font-size:20px}
.f30{font-size:30px}
.fb{font-weight:bold}
.fn{font-weight:normal}
.text-blue{
	color: #3A71A8;
}
.text-red{
  color:#E54437
}
.text-warning{
  color: #E6A23C;
}
.bg-blue{
  background: #3A71A8;
}
.text-333{
  color: #333;
}
.text-666{
  color: #666;
}
.text-999{
  color: #999;
}
.text-fff{
  color: #fff;
}
.text-ccc{
  color: #ccc;
}

/*定位*/
.tl{text-align:left}
.tc{text-align:center}
.tr{text-align:right}

/*边距*/
.m5{margin:5px}
.m10{margin:10px}
.m15{margin:15px}
.m20{margin:20px}
.m30{margin:30px}
.m50{margin:50px}
.m100{margin:100px}
.mt5{margin-top:5px}
.mt10{margin-top:10px}
.mt15{margin-top:15px}
.mt20{margin-top:20px}
.mt30{margin-top:30px}
.mt50{margin-top:50px}
.mt100{margin-top:100px}
.mb5{margin-bottom:5px}
.mb10{margin-bottom:10px}
.mb15{margin-bottom:15px}
.mb20{margin-bottom:20px}
.mb30{margin-bottom:30px}
.mb50{margin-bottom:50px}
.mb100{margin-bottom:100px}
.ml5{margin-left:5px}
.ml10{margin-left:10px}
.ml15{margin-left:15px}
.ml20{margin-left:20px}
.ml30{margin-left:30px}
.ml50{margin-left:50px}
.ml100{margin-left:100px}
.mr5{margin-right:5px}
.mr10{margin-right:10px}
.mr15{margin-right:15px}
.mr20{margin-right:20px}
.mr30{margin-right:30px}
.mr50{margin-right:50px}
.mr100{margin-right:100px}
.p0{padding: 0;}
.p5{padding:5px}
.p10{padding:10px}
.p15{padding:15px}
.p20{padding:20px}
.p30{padding:30px}
.p50{padding:50px}
.p100{padding:100px}
.pt5{padding-top:5px}
.pt10{padding-top:10px}
.pt15{padding-top:15px}
.pt20{padding-top:20px}
.pt30{padding-top:30px}
.pt50{padding-top:50px}
.pt100{padding-top:100px}
.pb5{padding-bottom:5px}
.pb10{padding-bottom:10px}
.pb15{padding-bottom:15px}
.pb20{padding-bottom:20px}
.pb30{padding-bottom:30px}
.pb50{padding-bottom:50px}
.pb100{padding-bottom:100px}
.pl5{padding-left:5px}
.pl10{padding-left:10px}
.pl15{padding-left:15px}
.pl20{padding-left:20px}
.pl30{padding-left:30px}
.pl50{padding-left:50px}
.pl100{padding-left:100px}
.pr5{padding-right:5px}
.pr10{padding-right:10px}
.pr15{padding-right:15px}
.pr20{padding-right:20px}
.pr30{padding-right:30px}
.pr50{padding-right:50px}
.pr100{padding-right:100px}
.el-table th{
  background:#f2f2f2;
}
.el-pagination{
  text-align: center;
}
.wxkj-drawer{width: 500px !important;
  .el-drawer__header{
    span{
      outline: none !important ;
    }
  }
  .el-drawer__body{
    overflow: auto;margin-bottom: 70px;
    scrollbar-width: none; /* firefox */
    -ms-overflow-style: none; /* IE 10+ */
    &::-webkit-scrollbar {
      display: none; /* Chrome Safari */
    }
  }
  .drawer-content{padding: 20px;padding-top: 0;}
  .drawer-form-buttom-group{
    width: 100%;
    position: absolute;bottom: 0;right: 0;
    padding: 17px 20px;
    button{
      float: right;
      margin-left: 10px;
    }
  }
}
.flex-between{ display: flex; justify-content: space-between; align-items: center;}
.wxkj-icon-title{font-size:16px;font-weight:bold;line-height:21px;color:#333333; display: flex; align-items: center;
  .icon{width:4px;height:16px;background:#348CE8;display: inline-block;margin-right: 15px;}
}
.table-top-group{margin-bottom: 20px;
  .item{display: inline-block;}
}
.wxkj-tab{background: #FFFFFF;
  .el-tabs__header{margin-bottom: 0;}
  .el-tabs__nav-wrap{padding: 0 20px;}
  .el-tabs__content{background: #f5f5f5;}
  .el-badge__content.is-fixed{top: 10px;right: 2px;}
  .el-tabs__item{
    line-height: 50px;
    height: 50px;
  }
}
.filter-container{
  line-height: 36px;
  font-size: 14px;
  margin-bottom: 10px;
  .filter-item{
    margin-bottom: 0;
  }
}
.overflow-ellipsis{
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
#app{
  .main-container{
    min-width:$baseCenter - 300px ;
  }
  .center-container,.center-navbar{
   margin:0 auto;
   min-width:$baseCenter - 350px
  }
}
// 1366
@media screen and (min-width: 1300px) and (max-width: 1399px) {
  #app{
    .center-container,.center-navbar{
      width:$baseCenter - 350px ;
    }
  }
}
// 1440
@media screen and (min-width: 1400px) and (max-width: 1499px) {
  #app{
    .center-container,.center-navbar{
      width:$baseCenter - 270px ;
    }
  }
}
// 1680
@media (min-width: 1500px) and (max-width: 1700px)  {
  #app{
    .center-container,.center-navbar{
      width:$baseCenter - 70px ;
    }
  }
}
// 1920
@media screen and (min-width: 1700px) {
  #app{
    .center-container,.center-navbar{
      // width:$baseCenter - 350px ;
      width:$baseCenter;
    }
  }
}
.search-filter{
  .el-col{
    margin-bottom: 15px !important;
  }
}
.el-pagination.is-background .btn-prev, .el-pagination.is-background .btn-next {
  padding: 0 10px !important;
}
.el-table__body-wrapper .el-image__inner{
  width: auto;
}
.el-table /deep/ .el-table__fixed,.el-table /deep/ .el-table__fixed-right{
  height: 100% !important; //设置高优先，以覆盖内联样式
}

.el-popup-parent--hidden{
  width: auto;
  line-height: inherit;
}
